package com.block.db.mapper;

import com.block.db.entity.SpecialDataApiInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 
 * @since 2022-12-03
 */
public interface SpecialDataApiInfoMapper extends BaseMapper<SpecialDataApiInfo> {

    List<SpecialDataApiInfo> getWaitQueryDataList();

    Integer queryNumberByItemIdAndDateInfo(@Param("itemId") Long itemId, @Param("nowDate")String nowDate);

    SpecialDataApiInfo getWaitDataByInfoIdAndQueryParam(@Param("infoId") String infoId, @Param("applyNo") String applyNo);

    SpecialDataApiInfo selectMerchantDataPushInfoByUidAndInfoId(@Param("infoId")Integer infoId, @Param("uid") Long uid);

}
